trying to setup watchdog and sleep mode