adding new group
no empty groups, error message improved