Added listening for domains