first iteration of groups