adding links to the index