capacitive and resistive electrodes