refactored DrmValidation