introduced group labels, made group flags editable