private function planetCleanup($planet)
    {

        // cleaning all waypoints
        $this->cleanRouteWaypoints($planet);

        // cleaning all routes
        $this->cleanRoutes($planet);

        // cleaning links
        $this->cleanLinks($planet);

        // cleaning contents
        $this->cleanContents($planet);

        // cleaning heads
        $this->cleanHeads($planet);

        // cleaning extractors
        $this->cleanExtractors($planet);

        // cleaning factories
        $this->cleanFactories($planet);

        // cleaning pins
        $this->cleanPins($planet);

        $this->resetCollections();
    }