stateful decisioning