displaying correct group array