wrote create event spec