another version of view index.php