first version of sample client