add event class