adding decryption support