fill the send_out_task function to header file.