   }
   
   func listDetailViewController(_ controller: ListDetailViewController, didFinishEditing checklist10: Checklist10) {
-    if let index = checklist10s.index(of: checklist10) {
+    if let index = dataModel10.checklist10s.index(of: checklist10) {
       let indexPath = IndexPath(row: index, section: 0)
       if let cell = tableView.cellForRow(at: indexPath) {
         cell.textLabel!.text = checklist10.name

class AllLists10ViewController: UITableViewController, ListDetailViewControllerDelegate {
  
  var dataModel10: DataModel10!
  
  required init?(coder aDecoder: NSCoder) {
      checklist10s = [Checklist10]()
      super.init(coder: aDecoder)
      loadChecklist10s()
  }
  
  override func viewDidLoad() {
    super.viewDidLoad()

  }
  
  override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let checklist10 = dataModel10.checklist10s[indexPath.row]
    performSegue(withIdentifier: "ShowChecklist10", sender: checklist10)
  }
  
