5. How to create an event