some changes in the view and model.