Included logic for total amount spent and total achievements