checks for phone numbers at least ten digits