validation scheme