added nonce variables