Use group ids for both cases