use correct event class