restore associate_with_group method