Added real barrier (still messed up).