adapting code for individuell Multivalue Attributes