setting up the view