Extended the sample to demonstrate the need for collection classes