undo changes to purchase log class