index should also have group class