Main view was not being used