[MODIFY] write some function for worker to send message.