switched Events from a trait to an object