perldoc -f srand has a quick and good advice on initializing a random sequence. I second the recommendation to prepare the list of random numbers in advance for sake of reproducibility. Itay -------------------------------------------------------------- itayf at fhcrc.org Fred Hutchinson Cancer Research Center