added in ideal groups analysis