support for domain mode