Added nonce to generate as part of struct.