Added generic addWord