Stateful-processing