changed layout for groups