added the non-rep-rand from array