parallelization started; for loops not working