moved emitter so we can use it for watchdog