   }
   
   func updateSection(_ section: Int) {
-    if expandedCells[section] == .Expanded {
-      expandedCells[section] = .Collapse
+    if expandedCells[section] == .expanded {
+      expandedCells[section] = .collapse
     } else {
-      expandedCells[section] = .Expand
+      expandedCells[section] = .expand
     }
     tableView.reloadSections(IndexSet(integer: section), with: .fade)
     tableView.scrollToRow(at: IndexPath(row: 0, section: section), at: .top, animated: true)

  
  func expand(withAnswer answer: String, animated: Bool) {
    answerTextView.text = answer
    answerTextView.isHidden = false
    if animated {
      answerTextView.alpha = 0

    self.titleLabel.backgroundColor = configuration.titleLabelBackgroundColor
    self.backgroundColor = configuration.viewBackgroundColor
    self.tableView.separatorStyle = .none
    expandedCells = Array(repeating: CellOperation.collapsed, count: items.count)
    self.addSubview(tableView)
    self.addSubview(titleLabel)
    addConstraintsForTableViewAndTitleLabel()
