Add and use getWord method, which always checks for null wordlist