created conversation function for kmtopx.