watchdog simple example