I realized that `index` might be misleading since we're not 0-indexed.
I'd suggest `getGroupAtPosition` instead.