creation of domains in sequence to prevent errors