Removed duplicated groups method