trying to adapt to second MVC to compareGroups