updated returning string in getWordSoFar()