skelet for grouping comutative operators