added Rectangle class