added the MainView