complete partial zkclient function