diff --git a/index.html b/index.html
index b3625db..e9fe7af 100644
--- a/index.html
+++ b/index.html
@@ -34,7 +34,9 @@
{
el.innerHTML = el.innerHTML+words[word_counter][character_counter++];
- if(character_counter == words[word_counter].length)
+ console.log(character_counter);
+
+ if(character_counter - 1 == words[word_counter].length)
{
word_counter++; //choose a different word
character_counter = 0; //start over with the first character of the word