improved chatclient