Added unfinished set of lines selection code