idf approximation works