changed to simple nonce