removed docs limit, correct IDF implementation