adds bitflag sample