working on handling islands in polygons