slight changes to rectangles