dropped bit masking helper functions