first steps torwards group by