two domainclasses