added validation for phone numbers and currencies