modification chatClient