add Hashbased grouping