made it easier to create an event