added the parallel for loop back