update currentWait to currentNumber