add error validations for all of the fields