Domain functionality added

Domain functionality added