Creating an event with the new scheduler