         slider4.value = 0
     }
     
-    
     @IBAction func updateParameter1(_ sender: UISlider) {
         print("value 1 = \(sender.value)")
         brain.generator?.parameters[0] = Double(sender.value)

    }
    
    func setupUI() {
        do {
            try brain.save(Constants.File.chat, code: String(contentsOfFile: Constants.Path.chat, encoding: String.Encoding.utf8))
            try brain.save(Constants.File.drone, code: String(contentsOfFile: Constants.Path.drone, encoding: String.Encoding.utf8))
            try brain.save(Constants.File.rhythmic, code: String(contentsOfFile: Constants.Path.rhythmic, encoding: String.Encoding.utf8))
            listOfSavedCodes.selectRow(0, inComponent: 1, animated: true)
            codeEditorTextView.text = brain.knownCodes[brain.names.first!]
            nameTextField.text = brain.names.first!
            
        } catch {
            NSLog(Constants.Error.Loading)
        }
    }
    

    
    override func viewDidLoad() {
        super.viewDidLoad()
        getSporthFiles()
        setupUI()
        listOfSavedCodes.dataSource = self
        listOfSavedCodes.delegate = self
