added affinity_group command