note the rand_win.c change