added getSumPurchase()