updated groupPitches to include full key creation