implement struct bitfield usage for tags