Added xor gate block