Changed Rectangle to Rect