add XORing and custom binaryString function