categoryBits, maskBits added