hmm, why not use millisecond resolution? seems a bit strange to me that 999ms should be rounded down