added barrier to the looper
Merge
Merge 2
Merge 3