Using two rectangles