Moving setDomain