added subdomains to groups