Added completion barriers and runInParallel