made add groups on index