added applyEachSeries