testing new chat logic