added method for phone number type