remove usage of valence attribute