adding not working decryption function