Completed the MainView