rename emitter property to events