Added and fixed addWord methods