Added millis
Added testing