added rollDie function