modified the random number generators
merged in files