ran_pass_gen
