allows for event creation