use new validate() plugin method