Create ideal groups