partly updated index.php