removed duplicate call to polygons