added a buffer for typing into the chat