added nbc_v7_generater