why do we need a dynamic variable here? we're already passing it as flag to `validate`, which is better style: let's do the same with `validate*` and skip this global.  or am i missing something?