move the allVowels variable in the functions