Setting up the view