initial version of client