         }
     }
 
+    // Merging remote snaphotcatalogs and existing logs
     private func mergeremotecatalogsandlogs() {
         var adjustedlogrecords = [Logrecordsschedules]()
         for i in 0 ..< (self.logrecordssnapshot?.count ?? 0) {

            // All real snapshotcatalogs
            var insert = false
            for j in 0 ..< (self.snapshotcatalogs?.count ?? 0) where self.snapshotcatalogs?[j] == snapshotcatalog {
                insert = true
            }
            if insert {

        }
    }

    // Calculating days since snaphot was executed
    private func calculateddayssincesynchronize() {
        for i in 0 ..< (self.logrecordssnapshot?.count ?? 0) {
            if let dateRun = self.logrecordssnapshot?[i].dateExecuted {
