group controller and group index