complete the index page