polarity management