public function loadCategoriesWithDto( 		Collection $base_categories, 		Collection $viable_client_surveys 	): void { 		$client_survey_category_ids = $viable_client_surveys->where('company_size', $this->client_survey->company_size)->pluck('id')->all(); 		$client_survey_top_ids = $viable_client_surveys->sortByDesc('overall_grade')->take(3)->pluck('id')->all(); 		$client_survey_core_business_ids = $viable_client_surveys->filter(function ($query) { 			return $query->client->industry?->parent->getKey() === $this->client_survey->client->industry?->parent->getKey(); 		})->pluck('id')->all(); 		$client_survey_specific_business_ids = $viable_client_surveys->filter(function ($query) { 			return $query->client->industry?->getKey() === $this->client_survey->client->industry?->getKey(); 		})->pluck('id')->all();  		foreach ($base_categories as $category) { 			$category->setAppends([ 				'report_data' => [ 					'by_company' => $this->loadCategoryFilteredDto( 						$category, 						[$this->client_survey->id] 					), 					'by_category' => $this->loadCategoryFilteredDto( 						$category, 						$client_survey_category_ids 					), 					'top_3' => $this->loadCategoryFilteredDto( 						$category, 						$client_survey_top_ids 					), 					'all' => $this->loadCategoryFilteredDto( 						$category, 						$viable_client_surveys->pluck('id')->all() 					), 					'core_business' => $this->loadCategoryFilteredDto( 						$category, 						$client_survey_core_business_ids 					), 					'specific_business' => $this->loadCategoryFilteredDto( 						$category, 						$client_survey_specific_business_ids 					), 				], 			]); 		} 	}