add valence method