main polygonal