Modified form for drawing polygons