partial changes to index.php