Working on the chat example