Validation function now returns string