re-wrote index.html