public function setTopThreeQuestionData(array $basic_questions_data, Collection $all_client_surveys_questions_data_by_company_size, array $client_survey_ids_for_company_size): array 	{ 		$client_surveys_average_questions_scores = [];  		foreach ($client_survey_ids_for_company_size as $key => $client_survey_id) { 			array_push($client_surveys_average_questions_scores, [ 				'client_survey_id' => $client_survey_id, 				'client_survey_average_questions_score' => $all_client_surveys_questions_data_by_company_size->where('client_survey_id', $client_survey_id)->avg('question_score'), 			]); 		}  		$top_three_client_surveys_ids = collect($client_surveys_average_questions_scores)->sortBy([['client_survey_average_questions_score', 'desc']])->take(3)->pluck('client_survey_id'); 		$top_three_client_surveys_questions_data_by_company_size = $all_client_surveys_questions_data_by_company_size->whereIn('client_survey_id', $top_three_client_surveys_ids);  		foreach ($basic_questions_data as $key => $question) { 			$basic_questions_data[$key]['top_three'] = $top_three_client_surveys_questions_data_by_company_size->where('id', $question['id'])->avg('question_score'); 		}  		return $basic_questions_data; 	}