Fix cypher

Rewritten nicely and fixed.