adds info for polygons and reorganizes document