separate validate and validate all