private static void interactInput(){
        try {															  
        	System.out.printf("********************DEFAULT VALUE******************\n");
        	for(int i = 0; i<Settings.baseKeywords.length;i++){
        		System.out.printf("************ Query %1d: %15s *************\n", i+1,Settings.baseKeywords[i]);
        	}
        	System.out.printf("****************** Timer: %1d mins ******************\n",Settings.timer/60/1000);
        	System.out.printf("******************* Sample: %2d s ******************\n",Settings.sample/1000);
			System.out.printf("***************************************************\n");
			
        	System.out.print("Please enter the query terms(using comma to differentiate, press enter for default): ");
        	BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));    	
        	String temp = bufferRead.readLine();
        	if (!temp.equals("")){
	        	Settings.baseKeywords = temp.split(",");
	        }else{
	        	System.out.println("Default value used!");
        	} 
        	
        	System.out.print("Please enter the time interval in minutes(press enter for default): ");
        	bufferRead = new BufferedReader(new InputStreamReader(System.in));    	
        	temp = bufferRead.readLine();
        	if (!temp.equals("")){
        		double inNum = Double.parseDouble(temp);
	        	Settings.timer = (long) (inNum*60*1000);
	        }else{
	        	System.out.println("Default value used!");
        	}
        	
        	System.out.print("Please enter the sample interval in seconds(press enter for default): ");
        	bufferRead = new BufferedReader(new InputStreamReader(System.in));    	
        	temp = bufferRead.readLine();
        	if (!temp.equals("")){
        		double inNum = Double.parseDouble(temp);
	        	Settings.sample = (long) (inNum*1000);
	        }else{
	        	System.out.println("Default value used!");
        	}
        	
        	System.out.printf("*******************ACTUAL VALUE********************\n");
        	for(int i = 0; i<Settings.baseKeywords.length;i++){
        		System.out.printf("************ Query %2d: %15s ************\n", i+1,Settings.baseKeywords[i]);
        	}
        	System.out.printf("**************** Timer: %2.1f mins ******************\n",(double)Settings.timer/60/1000);
        	System.out.printf("******************* Sample: %2d s *******************\n",Settings.sample/1000);
			System.out.printf("***************************************************\n");
			
        } catch (IOException ioe) {
        	System.out.println("IO error!");
        	System.exit(1);
		}
	}