added setTick