dpc's watchdog example