simplify vowel identification code