[bms-generate-code]