check each word O(n)