add wdog
Added logs to interrupt handler