use numpy.random.RandomState to avoid seeding the global numpy random generator
shorter lines