Fixed frequency bug
Added endDate.time to events