top down design and is_alphabet simplified