manage all polygons with one global var