adding new event class