         }
 
         tableView.emptyDataSetSource = self
-        //tableView.emptyDataSetDelegate = self
+        tableView.emptyDataSetDelegate = self
         tableView.tableFooterView = UIView()
         // Set top of table view to align with scroll view
         tableView.contentOffset = .zero
 
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
     }
 
     func sectionIndexesForBusStop() -> [String: [BusStop]] {

            }
        }

        if !allStops.isEmpty {
            // Adding "#" to section indexes for bus stops that start with a number
            sectionIndexDictionary["#"] = numberBusStops
        }

        return sectionIndexDictionary

    }

    // MARK: - Table view data source

    }
}

// MARK: DZNEmptyDataSetSource, DZNEmptyDataSetDelegate
extension AllStopsTableViewController: DZNEmptyDataSetSource, DZNEmptyDataSetDelegate {
    
    func setUpActivityIndicator() {
        activityIndicator = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.gray)
        if let activityIndicator = activityIndicator {
            view.addSubview(activityIndicator)
            activityIndicator.snp.makeConstraints { (make) in
                make.centerX.equalToSuperview()
                make.centerY.equalToSuperview()
            }
        }
    }

    func image(forEmptyDataSet scrollView: UIScrollView!) -> UIImage! {
        return #imageLiteral(resourceName: "emptyPin")
    }

    func description(forEmptyDataSet scrollView: UIScrollView!) -> NSAttributedString! {
        let title = "Couldn't Get Stops"
        let attrs = [NSAttributedString.Key.foregroundColor: UIColor.mediumGrayColor]
        return NSAttributedString(string: title, attributes: attrs)
    }

    func buttonTitle(forEmptyDataSet scrollView: UIScrollView!, for state: UIControl.State) -> NSAttributedString! {
        if activityIndicator != nil {
            return nil
        }
        let title = "Retry"
