Each capsule has a unique barcode that the coffee machine reads as soon as you put the capsule in the machine. The coffee machine automatically selects the correct cup size based on this barcode.