cleaning up index.php