begin add detect_letter