added group filter to histogram