added groups, index