bf_gen
