add logging
test clearBit and setBit
no bugs