adding event type