changes for view page