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

                println("no match, no revenue")
            }
        }
    }
    
    func updateMainView() {

    var lemonsToMix = 0
    var iceCubesToMix = 0
    
    var weatherArray: [[Int]] = [[-10, -8, -5, -7], [5, 8, 10, 9], [22, 25, 27, 23]]
    
    var weatherToday: [Int] = [0, 0, 0, 0]
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        simulateWeatherToday()
        
        updateMainView()
    }
