manage the model