chat window parsing