def __init__(
        self,
        reactor,
        tossim=None,
        time_control=None,
    ):
        print "modwatch initiated"
        #if tossim is not None:
        # print "load watch with tossim: ",tossim
        self.tossim = tossim or reactor.service.resolve("Tossim")
        #print "self.tossim.getNode(0).getVariable()", self.tossim.getNode(0).getVariable()

        #self.tossim = T5

        self.time_control = time_control or reactor.service.resolve(
            "TimeControl")
        #self.probe_loader = probe_loader
        self.watcher = Watcher()