add type for bitfield