made change to defining events based on zenith and polar angle