add EventEmitter sample