make histos work with groupby maybe