bit mask checks