added parallelCollect method, with docs and tests