Use int millis for elapsed