added endtime to event