fixed addWordHorizontal
added addWordVertical