Remove braces
Expand XOR operation