```\nuint oldValue = getAndUpdateDelegatedByHolderToValidator(holder, validatorId);\nif (oldValue > 0) {\n    uint month = \_slashes[index].month;\n    reduce(\n        \_delegatedByHolderToValidator[holder][validatorId],\n        \_delegatedByHolder[holder],\n        \_slashes[index].reducingCoefficient,\n        month);\n    slashingSignals[index.sub(begin)].holder = holder;\n    slashingSignals[index.sub(begin)].penalty = oldValue.sub(getAndUpdateDelegatedByHolderToValidator(holder, validatorId));\n}\n```\n