replaced dependency "emitter" with "events"