Adds createEvent