Closes #2 -- Integrated nonce check