starting to implement the barrier, prolly some build issues