parallelization code updates