further work on decryption