added code for index.html