Added check for millis.