add the problem group function