is the event also a class?