don't calculate length of alphabet every time