MAST, a new BIP based on segwit, uses a Merkle tree to encode mutually exclusive branches in a script. Enables complicated redemption conditions, improves privacy by hiding unexecuted scripts and allows inclusion of non-consensus enforced data with very low or no additional cost.