change _map to an eventEmitter
change _map to an eventEmitter