events are no longer a class