Working on the model-view mechanism