initialized loop index with commonWords.