added nice Rectangle class