initial version of polygon