(or at the least, the logic should be in DomainIndex)