     // CLLocationManager that will listen and react to Beacons.
     private var locationManager: CLLocationManager?
 
-    // Dictionary containing the CLBeaconRegions the locationManager is listening to. Each region is assigned to it's UUID as the key.
-    private var regions = [NSUUID: CLBeaconRegion]()
+    // Dictionary containing the CLBeaconRegions the locationManager is listening to. Each region is assigned to it's UUID String as the key.
+    private var regions = [String: CLBeaconRegion]()
     
     private var beaconsListening: [Beacon]?
     

        
        beaconsListening = [beacon]
        
        regions[beacon.uuid] = self.regionForBeacon(beacon)
    }
    
    

    
    public func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) {
        
        print("Did Enter region \(region.identifier)")
    }
    
    public func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) {
        
        print("Did Exit region \(region.identifier)")
    }
    
}