Implement reusable barrier