added ability to draw multiple lines on screen