changed controller and views