These three lines should also be moved. They don't have to do with the view.