Move 'groupCounter' to the top along with '_', 'initialized', etc. please.