added function to look up defined words in the new dictionary.