draw rectangles & lines