bemm_gen
