loss processing