```\nfunction sub(\n    uint256 a,\n    uint256 b,\n    string memory errorMessage\n) internal pure returns (uint256) {\n    require(b <= a, errorMessage);\n    uint256 c = a - b;\n\n    return c;\n}\n```\n