document makeClient function