Further modification on randoms.