When you wrap the passer’s leg, you put yourself in safety to sweep from the half-guard. Check out Leandro Slaib’s technique