Added ability to select lines