private function react(IDS_Report $result) {

        $new = $this->controller
                ->Session
                ->read('IDS.Impact') + $result->getImpact();


        $this->controller->Session->write('IDS.Impact', $new);
        $impact = $this->controller->Session->read('IDS.Impact');

        if ($impact >= $this->threshold['kick']) {
            $this->idslog($result, 3, $impact);
            $this->idsmail($result);
            $this->idskick($result);
            return true;
        } else if ($impact >= $this->threshold['warn']) {
            $this->idslog($result, 2, $impact);
            $this->idsmail($result);
            $this->idswarn($result);
            return true;
        } else if ($impact >= $this->threshold['mail']) {
            $this->idslog($result, 1, $impact);
            $this->idsmail($result);
            return true;
        } else if ($impact >= $this->threshold['log']) {
            $this->idslog($result, 0, $impact);
            return true;
        } else {
            return true;
        }
    }