disable gen_rand_soln method code