first version of phone number validation