modified the testBBand