Changes in returns for grouper

Returned values as specified in example