     func startAdvertisingBeacon() {
         NSLog("Turning on advertising...")
 
-        createBeaconRegion()
-
         if peripheralManager == nil {
             peripheralManager = CBPeripheralManager(delegate: self, queue: nil, options: nil)
         }

            return
        }

        createBeaconRegion()
        locationManager?.startMonitoringForRegion(beaconRegion)

        NSLog("Monitoring turned on for region: \(beaconRegion)")

            return
        }

        locationManager?.startRangingBeaconsInRegion(beaconRegion)

        NSLog("Ranging turned on for region: \(beaconRegion)")
