finish bits.c