simple but handy bitmask