refactored same_owner_validator