class valence