changed docs to work with Polygon