Added random and ratio to doc