 When a ballot marking device prints a bar code or QR code along with candidate names, the candidates are represented in the bar code or QR code as numbers, and the scanner counts those codes, not the names.If a bug or hack makes the numbering system in the ballot marking device not aligned with the numbering system in the scanner, votes will be tallied for the wrong candidates.This numbering mismatch was suggested as early as 2005.