final version of the chat