Moved dice withholding section into its own function.