changes to purchase_items, add_items, etc.