added EventWatchdog class