tf-idf is now functional