fixes from J + removing the random numbers between the iterations