added class for Rectangles