Modify the rand.