added v.3, added stem_term method