add the title to each index