workign with creating a set of grouped oprs