Made associateTerms executable