private static void depthInputValidator() {
	    while (!validInput) {
	        try {
				System.out.print("You selected to search by depth. Please enter a depth: ");
				depthInput = actionInput.nextDouble();
				System.out.println("You entered: " + depthInput);
				validInput = true;
				if(data1.isEmpty()) {
		    		data1 = depthInput.toString();
				} else {
					data2 = depthInput.toString();
				}
	        } catch (InputMismatchException e) {
	            System.out.println("Invalid data type input. Please try again: ");
	            actionInput.nextLine();
	        }
	    }	 
		validInput = false;			
	}