millis with random switching question