added code to find nonce in util
added comments to the nonce