Make a view() function to invoke views.