finish groupBy example