cleaned up a little in the index.php