Making slot machine example work.