The present invention provides a method and an apparatus for manufacturing moulded and coded confections, the method comprising the steps of: (i) depositing an edible material into cavities in a mould to produce moulded confections, the mould comprising two or more lanes of cavities; and (ii) providing each moulded confection with a code according to the identity of the edible material in the confection so as to produce moulded and coded confections; wherein each lane of cavities is associated with at least one single-lane depositor which deposits the edible material into the cavities in that lane only.