added client.cpp