add allOff and bitStat functions