added an index to the page