more options added; log(idf)