make tick/tocking deterministic