making per group