Added polarity setup