bits.c methods are working