```\nfunction Withdraw(uint256 amount) external {\n    ethbalance[msg.sender] = SafeMath.sub(ethbalance[msg.sender], amount);\n    payable(msg.sender).transfer(amount);\n    emit Withdrew(msg.sender, amount);\n}\n```\n