$name fills in $client by default