work for addWordHorizontal