adding idf