parallelization implemented