adding curves to the lines