why not use the length property on your words array to get the word count like you did in the linecounter exercise? This would save you a lot of code. A for effort though. Some times it has to be this way.