add tf-idf functionality