Added riskOfLoss()