started validatePhoneNumbers function