# Withdrawing Contract Fees

### Function Breakdown

* The function first saves the current balance of the contract in a local variable and then sets the contract balance to 0.
* The `transfer` function of the PBetsToken contract is then called, which transfers the saved balance from the contract to the recipient.
