but wouldn't it be more idiomatic and better practise to store the state in the model, but not persist it?