     private func deletesnapshotcatalogs() {
         var arguments: SnapshotDeleteCatalogsArguments?
         var deletecommand: SnapshotCommandDeleteCatalogs?
-        guard self.snapshotsloggdata?.remotecatalogstodelete != nil else {
-            return
-        }
+        guard self.snapshotsloggdata?.remotecatalogstodelete != nil else { return }
         guard self.snapshotsloggdata!.remotecatalogstodelete!.count > 0 else { return }
         let remotecatalog = self.snapshotsloggdata!.remotecatalogstodelete![0]
         self.snapshotsloggdata!.remotecatalogstodelete!.remove(at: 0)

            self.info.stringValue = "Max 5 catalogs to delete..."
        case 5:
            self.info.stringValue = "Enter a real number..."
        default:
            self.info.stringValue = ""
        }
    }

    @IBAction func delete(_ sender: NSButton) {

                self.info(num: 5)
                return
            }
            self.info(num: 0)
            self.snapshotsloggdata!.preparecatalogstodelete(num: delete)
            self.deletebutton.isEnabled = false
            self.deletenum.isEnabled = false
            self.initiateProgressbar()
