working on chat, required by thtp