Representing Collections of Data through Stacks