read_gen
