vs validate