Using the view contract