polygons now work