added basic groping support but not tested
tested group pipe