Dice code added