improved scoping of value-*of by using the containing element