         }
     }
     
-    //MARK: internal
-    
-    func syncLocation(
-        coreData:Database,
-        latitude:Double,
-        longitude:Double,
-        country:String,
-        completion:@escaping(() -> ()))
-    {
-        let firebase:FDatabase = FDatabase()
-        
-        removePreviousLocation(
-            newCountry:country,
-            firebase:firebase)
-        
-        addNewLocation(
-            coreData:coreData,
-            latitude:latitude,
-            longitude:longitude,
-            country:country,
-            firebase:firebase,
-            completion:completion)
-    }
-    
     func removePreviousLocation(
         newCountry:String,
         firebase:FDatabase)
     {
         guard
         
-            let storedCountry:String = country,
+            let country:String = country,
             let userId:String = userId
         
         else

            return
        }
        
        if storedCountry != newCountry
        {
            removeCountryUser(
                country:storedCountry,
                userId:userId,
                firebase:firebase)
        }

        firebase.remove(parent:country, identifier:userId)
    }
    
    //MARK: internal
    
    func syncLocation(
        coreData:Database,
        latitude:Double,
        longitude:Double,
        country:String,
        completion:@escaping(() -> ()))
    {
        let firebase:FDatabase = FDatabase()
        
        removePreviousLocation(
            newCountry:country,
            firebase:firebase)
        
        coreDataLocation(
            country:country,
            coreData:coreData)
