add local event emitter