polygon working