formatting for index.php