Silly Windows rand()