First version of client