level validation