adding manual decryption support