v1 of chat.lua