Remove require random_gen