Better logic to determine events