added low_letter_ratio function