create group and subgroup debug