made all MyRectangles class wide variables