extend EventEmitter