check for nonce