Add xor as subtree and fix path.