         region.notifyOnExit = geoNotification["transitionType"].asInt == 2 ? true: false
         //store
         store.addOrUpdate(geoNotification)
-        if(store.getTotalGeoNotifications() <= 20) {
-            locationManager.startMonitoringForRegion(region)
-        } else {
+        locationManager.startMonitoringForRegion(region)
+
+        if(store.getTotalGeoNotifications() >= 20) {
             // added for monitoring more than 20
             locationManager.startMonitoringSignificantLocationChanges()
             //log("location added to DB but not monitered only 20 can be monitered at a time")

                    addOrUpdateGeoNotification(allRegions[v])
                }
                i++
                println("\(k):\(v)")
            }
        }
        log("monitoring best 20")


func log(message: String){
    #if DEBUG
       NSLog("%@ - %@", TAG, message)
    #endif
}

