handling adding polygons a bit better