got ngrams retrieval working