rand renamed to random_objects