by measuring variation of impedance