Maximum of 5 groups