         self.presentViewController(alert, animated: true, completion: nil)
     }
     
+    func simulateWeatherToday() {
+        let index = Int(arc4random_uniform((UInt32(weatherArray.count))))
+        
+        weatherToday = weatherArray[index]
+    }
+    
+    func findAverage(data:[Int]) -> Int {
+        var sum = 0
+        
+        for x in data {
+            sum += x
+        }
+        
+        var average: Double = Double(sum) / Double(data.count)
+        var rounded: Int = Int(ceil(average))
+        
+        return rounded
+    }
+    
 }
 

    }
    
    @IBAction func startDayButtonPressed(sender: AnyObject) {
        let customers  = Int(arc4random_uniform(UInt32(11)))
        println("customers: \(customers)")
        
        let lemonadeRatio = Float(lemonsToMix) / Float(iceCubesToMix)

                println("no match, no revenue")
            }
        }
        
        lemonsToPurchase = 0
        iceCubesToPurchase = 0
        lemonsToMix = 0
        iceCubesToMix = 0
        
        simulateWeatherToday()
        
        updateMainView()
    }
    
    func updateMainView() {
