extend event emitter