A container of a foodstuff or beverage preparation machine, the container for containing beverage or foodstuff preparation material and comprising on a surface thereof an arrangement of separate codes encoding preparation information, whereby each code encodes a distinct phase of a preparation process.