Added get totalSaving  function.