     var currentLocation: CLLocationCoordinate2D!
     var selectedVenueId: String?
     var selectedVenuesCategoryId: String?
+    var selectedVenuesCategoryName: String?
     
 
     override func viewDidLoad() {
         super.viewDidLoad()
         if isMainView {
+            self.title = "Locating You..."
             enableRefreshControl()
             findLocation()
         } else {
             //otherwise the top row is hidden behind the nav bar.
             tableTopConstraint.constant = 64
-            fetchVenues(currentLocation, categoryId: selectedVenuesCategoryId!)
+            fetchVenues(currentLocation, categoryId: selectedVenuesCategoryId!, categoryName: selectedVenuesCategoryName!)
         }
     }
     

            print("Location -> \(locations[0])")
            self.currentLocation = locations[0].coordinate
            self.fetchVenues(locations[0].coordinate)
        }
    }
    

        })
    }
    
    func fetchVenues(location: CLLocationCoordinate2D, categoryId: String, categoryName: String){
        print("fetching venues...")
        ActivityManager.sharedManager().startActivityIndicator(self.view)
        venueDataService.getNearByVenues(location, categoryId: categoryId, success: { (venues) -> () in
