fixed final-char model and added final-word model