public function removeIp($ip)
    {
        $hosts = $this->getHosts($ip);
         unset($this->ips[$ip]);

         foreach ($hosts as $host) {
            unset($this->hosts[$host]);
         }
    }