new BMS class