added idf and tf methods