added send_flag