Added code for Dice