added further explanation of bit test