completed the initial index.php code