forgot to convert milliseconds to ticks