override func prepare(for segue: UIStoryboardSegue, sender: Any?) { guard let selectedRow = self.tableView.indexPathForSelectedRow else { return } guard let vc = segue.destination as? InfographicViewController else { return } let counter = counters[selectedRow.row] let stats = counter.currentTextStats vc.stats = stats }