parallelization fixed