saving at end of profit calc