working XOR weights in comment