chat works with the new structure