Modified the rectangles