modify chat program