updated bank to use new xor func to reveal identity