watchdog initial implementation