add client.cpp