bit formatting