changed bag.item to bag.items