Added Rect class