polarity inspection