not sure why mainView was not included...