add event emitter library