small changes to create event