I would colocate this `ref` variable after `refName` on 628