providing voltages of opposite polarities