added ability to draw lines