Added parallelization