add a watchdog