working rectangles