discharging losses