new version of validator