modify the view and controller