The team built their computer using two enzymes - glucose dehydrogenase (GDH) and horseradish peroxidase (HRP) - to trigger two interconnected chemical reactions. Two chemical components - hydrogen peroxide and glucose - were used to represent input values (A and B). The presence of each chemical corresponded to a binary 1, while the absence represented a binary 0. The chemical result of the enzyme-powered reaction was determined optically. The enzyme computer was used to perform two fundamental logic computations known as AND (where A and B must both equal one) and XOR (where A and B must have different values). The addition of two further enzymes - glucose oxidase and catalase - connected the two logical operations, making it possible to add together binary digits using the logic functions.