added a state declaration to the model