added boilerplate code for index page