``promises.forEach()`` might be easier