Bags and Stacks