added client_rep2 which is the cuda client