added non-rep-rand