why not to check the group name instead of groups number?