Changed decryption method