start working on xor