added code to index page