added for 10 groups