rename get_domain to get_domains, now return domains