change domain to model