work on the view page