added add polygons feature