Refactor for name change to purchase tracker