```\nfunction transferFrom(\n    address sender,\n    address recipient,\n    uint256 amount\n) external override returns (bool) {\n    address spender = msg.sender;\n    //check allowance requirement\n    _spendAllowance(sender, spender, amount);\n    return _transferFrom(sender, recipient, amount);\n}\n```\n