separated out watchdog