implemented get/set group weight.