added decrypting