BUGFIX: ^= 1 means NOT