adds create event method