Added domains and error event