added group histogram