tried to go back to drawing a rect instead of polygons