in reply to Random generator fail

See the documentation for rand. It explains pretty well why this is happening.

--MidLifeXis