working on the chat-system