doc for random num internal sweep example