Replace explicit leader call with variable