added createEventForAllDay