update to CoinQuizMachine case study