Working version, added term information
Merge pull request #2 from mcharris/master

Working version, added term information