little progress on the client code