another way to convert to ticks