add code on index page