change groupHelper from List to Boolean