imporoved method addDomain of the object Domain