Added "drawPolygon" method