Modified MainView Functions