utility for working w. bitflags