Implement double barriers