prep Polygon class