scanToTerm