 				
 				getWeatherForRequest(urlString)
 				.subscribe(next: nil, error: { error in
-					if let gotError = error as? NSError {
-						print(gotError.domain)
-						sendNext(self.errorAlertView, UIAlertView(title: "Error \(gotError.code)",
-							message: gotError.domain, delegate: nil, cancelButtonTitle: "Okay"))
-					}
+					let gotError = error as NSError
+					
+					print(gotError.domain)
+					self.errorAlertView.on(.Next(UIAlertView(title: "\(gotError.code)", message: gotError.domain, delegate: nil, cancelButtonTitle: "Okay")))
 				})
 			}
 		}

			if let url = NSURL(string: Constants.baseImageURL + imageID + Constants.imageExtension) {
				if let data = NSData(contentsOfURL: url) {
					dispatch_async(dispatch_get_main_queue()) { () -> Void in
						sendNext(self.weatherImage, UIImage(data: data))
					}
				}
			}

	var errorAlertView = PublishSubject<UIAlertView>()
	
	func updateModel() {
		cityName.on(.Next(weather?.cityName))
		if let temp = weather?.currentWeather?.temp {
			degrees.on(.Next(String(temp)))
		}
		weatherDescription.on(.Next(weather?.currentWeather?.description))
		if let id = weather?.currentWeather?.imageID {
			setWeatherImageForImageID(id)
			setBackgroundImageForImageID(id)
