setting up the views