More slot machine code improvement.