making a reader for domain to duplicate name attribute