added diceMaxValue constant