Adding a helper for barrier behaviour, continued work on block