new validate method