modification to how we print the groups