Code for Corrupting Diamonds