examples updated group_atoms_by_attr fixed