renamed method doIt() to a more meaningful name learnTerms()