same comment as `getGroupId`