working on drawing rectangles