added inverted index