move tfidfindex stuff to tfidf