added polarity labeling