added selection of a line