@SuppressWarnings("resource")
	public void searchEngineMenu3(DataSource ds) {
		// TODO: finish searchEngine3
		
		while (true) {
			System.out.println("Alarming Age Search Engine");
			System.out.println("Back = 0. Please enter a test name:");
			Scanner scanner = new Scanner(System.in);
			String testName = scanner.nextLine();
			
			if (testName.equals("0")) {
				return;
			}
			
			if (!ds.checkTestName(testName)) {
				System.out.println("Please enter a valid test name");
				continue;
			}
			
			System.out.println("Patients who have reached alarming age for " + testName + " but have not taken that test:");
			List<Patient> patientLst = ds.getAlarmingAgePatients(testName);
			if (patientLst.size() == 0) {
				System.out.println("None");
			}
			for (Patient patient : patientLst) {
				System.out.println(patient.getName());
				System.out.println(patient.getAddress());
				System.out.println(patient.getPhone());
				System.out.println("--------------------");
			}
		}
	}