refactoring domaininfo