changed dictionary and thesaurus to lists