add inverted index from top 10 output