building on our simple xor application