added dependencies for emitter & promise