change to view.php