     
     var location = ""
     let defaults = UserDefaults.standard
+    
+    var timer: Timer?
 
     override func viewDidLoad() {
         super.viewDidLoad()

                    return
                }
                
                log.debug(json)
                
                let weatherList = json["list"].arrayValue.map { (data) -> Weather in
                    let timestamp = data["dt"].uInt64Value


    func loadWeather(location: String) {
        LoadingIndicator.increase()

        Alamofire
            .request(
                "https://api.openweathermap.org/data/2.5/weather",
