optimize Validation