added Dice class