     return indexPath
   }
 
-  func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
+  func tableView(_ tableView: UITableView,
+                 didSelectRowAt indexPath: IndexPath) {
     if let cell = tableView.cellForRow(at: indexPath) {
       guard let contact = self.contact(for: indexPath) else { return }
       selectContact(fbid: contact)


  var selectedContacts = [String]()
  var sortedContacts = [String: [String]]()

  func reload(completion: @escaping () -> Void) {
    if cells.isEmpty {

    cell.accessoryType = isSelected(fbid: contact) ? .checkmark : .none
  }

  func tableView(_ tableView: UITableView,
                 willSelectRowAt indexPath: IndexPath) -> IndexPath? {
    guard let selected = tableView.indexPathsForSelectedRows else { return nil }

    if selected.count == Team.limit {
