added phone number validation and formatting