         
         if (totalCards > 0)
         {
-            var flstring = String(format:"%.2f", 100*Double(team2Cards)/Double(totalCards))
-            team1Chance.text = "1-\(team2Cards) (\(flstring)%)"
+            if (team2Cards > 0)
+            {
+                let flstring = String(format:"%.2f", 100*Double(team2Cards)/Double(totalCards))
+                team1Chance.text = "1-\(team2Cards) (\(flstring)%)"
+            }
+            else
+            {
+                //team 2 got no cards, team 1 chance is 0
+                team1Chance.text = "0 (0%)"
+            }
             
-            flstring = String(format:"%.2f", 100*Double(team2Cards)/Double(totalCards))
-            team2Chance.text = "\(team2Cards+1)-\(totalCards) (\(flstring)%)"
+            if (team1Cards > 0)
+            {
+                let flstring = String(format:"%.2f", 100*Double(team1Cards)/Double(totalCards))
+                team2Chance.text = "\(team2Cards+1)-\(totalCards) (\(flstring)%)"
+            }
+            else
+            {
+                //team 1 got no cards, team 2 chance is 0
+                team2Chance.text = "0 (0%)"
+            }
             
             rolledNumber.text = ""
             chosenTeam.text = ""

        // Dispose of any resources that can be recreated.
    }
    

    @IBAction func rollButtonPressed(sender: AnyObject)
    {

    var team2Cards:Int = 0;
    var totalCards:Int = 0;
    
    var timer:NSTimer?
    
    var delay:Double = 0.01;
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
