Bits class