applying impedance controller