Added some code for the winnings and losses.