refactored part of processNewSub to get rid of unneeded processPromise and use .spread to break up arguments