add comments in textChat code