added further explanation of bit extraction