add ACTIVITY_MODE_BITS ACTIVITY_MODE_BYTES