freedrawpolygons mostly done