add set a rectangles class