okay, the code to group changes to same attributename seems to work.