adding client.cpp