switched to use nonce in miliseconds everywhere