* Changed to a thread safe random generator