added term extractor
updated term extractor