basic validation, show errors