client.h modified