drawing line to select