Better passing of variable and get_chat_server