polarity alignment