out_to_rig