changed view for index page