changes to MainView