         SwiftBus.sharedController.routeConfiguration("5R", forAgency: "sf-muni", closure: {(route:TransitRoute?) -> Void in
             //If the route exists
             if let transitRoute = route as TransitRoute! {
+                let routeCongigMessage = "Route config for route \(transitRoute.routeTitle)"
+                let numberOfStopsMessage = "Number of stops on route in one direction: \(Array(transitRoute.stopsOnRoute.values)[0].count)"
+                
                 print("\n-----")
-                print("Route config for route " + transitRoute.routeTitle)
-                print("Number of stops on route in one direction: \(Array(transitRoute.stopsOnRoute.values)[0].count)")
+                print(routeCongigMessage)
+                print(numberOfStopsMessage)
+                
+                self.showAlertControllerWithTitle(routeCongigMessage, message: numberOfStopsMessage)
             }
             
         })

        //var agency = TransitAgency(agencyTag: "sf-muni")
        //agency.getAgencyData({(success:Bool, agency:TransitAgency) -> Void in
        SwiftBus.sharedController.routesForAgency("sf-muni", closure: {(agencyRoutes:[String : TransitRoute]) -> Void in
            print("\n-----")
            print("Number of routes loaded for SF MUNI: \(agencyRoutes.count)")
            for route in agencyRoutes.values {
                print("Route title: " + route.routeTitle)
            }
        })
        
    }

    @IBAction func stationPredictionsTouched(sender: AnyObject) {
        SwiftBus.sharedController.stationPredictions("5726", forRoutes: ["KT", "L", "M"], withAgency: "sf-muni", closure: {(station: TransitStation?) -> Void in
            if let transitStation = station as TransitStation! {
                let lineTitles = "Prediction for lines: \(transitStation.routesAtStation.map({"\($0.routeTitle)"}))"
                let predictionStrings = "Predictions at stop \(transitStation.combinedPredictions().map({$0.predictionInMinutes}))"
                
                print("\n-----")
                print("Station: \(transitStation.stopTitle)")
                print(lineTitles)
                print(predictionStrings)
                
                self.showAlertControllerWithTitle(lineTitles, message: "\(predictionStrings)")
            }
        })
    }
