[wip] implements groups