implemented some accessors
removed GenerateRectangle header