better group check