working on the index page