- remove generateRand.