Add feature of eventEmitter