added collectSeries and collectParallel