order of chat operations