Code for the in-the-bag components and code packets