added joining lines