use subgroupKey var instead of hardcoded strings