```\nfunction \_capFeeAmount(uint256 \_amount) internal view returns (uint256 \_capped, uint256 \_retained)\n{\n \_retained = 0;\n uint256 \_limit = \_calcMaxRewardTransferAmount();\n if (\_amount > \_limit) {\n  \_amount = \_limit;\n  \_retained = \_amount.sub(\_limit);\n }\n return (\_amount, \_retained);\n}\n```\n