Wrote an alternative parallelization method