major push on data wrangling, adding group by and unflatten functionality