working on domain listener