added bitfields
fixed bitfield