changed the view and controller