Inverted index done