validating fields
validating fields