Connection of two lines