added registerSale, removed submitCurrentPurchase