It looks like you want to return the client if it exists and nil if it doesn't. You could also just return `@client` like so:

```
def client
   @client
end
```