found better way for dealing with bitfields