new file:   bits.py