The beans are sorted by size by inserting red metal objects with different size holes (in the picture all holes are closed)...