Refactored daily events to array