Cipher problem solved