first introduction of valence constrains - not working yet