closere on the bitstring stuff but not quite