added watchdog