Replace getPolygon() with polygon