 
 exports.startgame = !->
 	Timer.cancel()
-	Db.shared.set 'questiondeck', [0..questionCards.length - 1] # [0..Black.cards.length - 1]
-	Db.shared.set 'answerdeck', [0..answerCards.length - 1] # [0..White.cards.length - 1]
-	Db.shared.set 'lastround', 0
+	Db.shared.set 'questiondeck', [0..Black.cards.length - 1]
+	Db.shared.set 'answerdeck', [0..White.cards.length - 1]
+	Db.shared.set 'round', 0
 	Db.shared.set 'score', {}
 	Db.shared.set 'rounds', {}
 	Db.shared.set 'paused', false
  
 	# can be used to add cards during a game with an upgrade
-	Db.shared.set 'questiondecksize', questionCards.length # Black.cards.length
-	Db.shared.set 'answerdecksize', answerCards.length # White.cards.length
+	Db.shared.set 'questiondecksize', Black.cards.length
+	Db.shared.set 'answerdecksize', White.cards.length
 
 	for uid in Plugin.userIds()
 		Db.personal(uid).set 'playedcards', ''


	r = Math.floor(Math.random()*deck.length)
	cardId = deck[r]
	card = questionCards[cardId] # Black.cards[cardId]

	deck.splice(r, 1)
	Db.shared.set 'questiondeck', deck

	comments = Db.shared.createRef("comments", Db.shared.get 'roundcounter')
	max = comments.incr 'max'
	comments.set max, comment
