added polygon event code to circle events