added getDomains