an example where bit masking is being used