trying to finish the MainView