#deterministic-state-machine