let parseTerm do all the term parsing