updated index.php to run problem 5