adopted new bwtest