Improving speed with parallelization