sperate two groups for last group