add client server sample