Moved from time to ticks based