first version of client