added decryptPayload