add event type variable