Added functionality to draw lines and rectangles