use exclusive OR to do invertions