Began group by implementation