add the bit alg