validation is now optional in libstruct