removed is_letter method because it wasnt needed