check groups with new logic