                 
                 print("case insert")
             case .delete:
-                //TODO: Delete from collection view
+                //TODO: Delete from table view
                 removeFromSetsToDisplayByID(removeThisSet: theQuizletSet)
                 tableView.deleteRows(at: [indexPath!], with: UITableViewRowAnimation.automatic)
                 print("case delete")

            case .insert:
                //this will be done in the view controller so it can be selected
                setsToDisplay.append(theQuizletSet)
                //animate the insertion of new cells
                if let index = setsToDisplay.getIndex(of: theQuizletSet) {
                    let setIndexPath = IndexPath(row: index, section: 0)

    }
    
    func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) {
        //finished with updates, allow table view to animate and reload
        self.tableView.endUpdates()
    }
    
    func removeFromSetsToDisplayByID(removeThisSet: QuizletSet) {
