compele all groupping code