Working braid function