split worker into different groups