added id to groups