added to dice.py