         }
         
         return stores
-    }
-    
-    func loadStores(at coordinate: CLLocationCoordinate2D) {
-        
-        startSpinningIndicator()
-        
-        let distanceInMeters = DistanceCalculation.milesToMeters(miles: distanceFilter)
-        
-        SearchStores.searchForStoresLocations(near: coordinate, with: distanceInMeters) { stores in
-            
-            self.stores = self.filterStores(from: stores)
-            
-            self.main.addOperation {
-                
-                self.tableView.reloadData()
-                
-                self.stopSpinningIndicator()
-                self.refreshControl?.endRefreshing()
-                
-            }
-            
-            if self.stores.isEmpty {
-                
-                self.makeNoteThatNoStoresFound(additionalMessage: "User is in Stores Table View")
-                
-            }
-            
-        }
-        
     }
     
     

        showStores = stores
        onlyShowOpenStores = openNow
        distanceFilter = Double(distanceInMiles)
        
        if let currentLocation = UserLocation.instance.currentCoordinate {
            loadStores(at: currentLocation)


//TODO: Integrate with Carthage

class StoresTableViewController: UITableViewController, SideMenuFilterDelegate, FilterDelegate, UIGestureRecognizerDelegate {
    
    var stores: [Store] = []
    
