Editing to get example chat working