refactored DataValidator methods