making the views work