added scoring for words