more work on decryption