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

        firebase.remove(parent:country, identifier:userId)
    }
    
    private func addNewLocation(
        coreData:Database,
        latitude:Double,
        longitude:Double,
        country:String,
        firebase:FDatabase,
        completion:@escaping(() -> ()))
    {
        coreDataLocation(
            country:country,
            coreData:coreData)

        }
    }
    
    func removePreviousLocation(
        newCountry:String,
        firebase:FDatabase)
    {
        guard
        
            let country:String = country,
            let userId:String = userId
        
        else
