Thanks Kai, that should work. AWOL should I use &= then? Or would neither of the compound bitwise operators do it?