create doMessage