cleaned up index.php