started adding group by