begin parallelization