XOR basic functionality works