changes for fetching word.  Using threads