setting up views