client class finished