         let storyboard = UIStoryboard(name: "MapView", bundle: nil)
         let controller = storyboard.instantiateInitialViewController() as! MapViewController
 
-        //setSpotsData(controller)
-
-        controller.spots = sightseengSpots
+        controller.spots = SpotManager.sharedController.sightseeingSpotRepository.spots
     
         var viaLocations: [CLLocationCoordinate2D] = []
         if let spot = SpotManager.startSpot {

        self.presentViewController(controller, animated: true, completion: nil)
    }
    
    func setSpotsData(controller:MapViewController){
        controller.spots = sightseengSpots
        //controller.toLocation = CLLocationCoordinate2D(latitude: SpotManager.targetSpot.latitude, longitude: SpotManager.targetSpot.longitude)
        //controller.fromLocation = CLLocationCoordinate2D(latitude: SpotManager.startSpot.latitude, longitude: SpotManager.startSpot.longitude)
    }
}



            locationManager.requestAlwaysAuthorization()
        }
        
        let header = SearchHeaderView()
        header.setup(CGRectMake(0, UIApplication.sharedApplication().statusBarFrame.height, self.view.bounds.width, 50))
        self.view.addSubview(header)
        
        searchButton.layer.cornerRadius = 60
        
        let spots = SpotManager.sharedController.toiletSpotRepository.spots
        for spot in spots {
            print(spot.name)
        }
        
    }
    
    override func viewWillAppear(animated: Bool) {
