added thesaurus viewing functionality