dumped in chat example code