added _letters and _digits functions