Finished generateDomain()