added send_ir